﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ET.DBCommon.Model
{
    public class OperationLogModel
    {
        /// <summary>
        /// 操作日志ID
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 操作步骤ID
        /// 信号-办理进路
        /// 调度电话-接听
        /// 无线电台-挂断
        /// </summary>
        public int OperateId { get; set; }
        /// <summary>
        /// 操作的当前用户时间
        /// </summary>
        public DateTime OperatedTime { get; set; }
        /// <summary>
        /// 当前用户操作的虚拟时间
        /// </summary>
        public DateTime VirtualTime { get; set; }
        /// <summary>
        /// 操作的设备类型ID,例如：信号机；道岔；进路等
        /// </summary>
        public int DeviceTypeId { get; set; }
        /// <summary>
        /// 设备索引 
        /// </summary>
        public string  DeviceId { get; set; }
        /// <summary>
        /// 参数
        /// </summary>
        public String Parameters { get; set; }
        /// <summary>
        /// 备注，预留字段
        /// </summary>
        public String Remark { get; set; }
        /// <summary>
        /// 系统类型;设备所属系统：ATS、VR、ISCS
        /// </summary>
        public string SysType { get; set; }
        /// <summary>
        /// 是否有效
        /// </summary>
        public bool IsEffective { get; set; } = true;
        /// <summary>
        /// 考试索引
        /// </summary>
        public int ExamId { get; set; }
        /// <summary>
        /// 录音文件
        /// </summary>
        public byte[] AudioFile { get; set; }
        /// <summary>
        /// 角色索引
        /// </summary>
        public int RoleId { get; set; }
    }
}
